package achievement.factory;

import achievement.service.AchievementService;

public class AchievementFactory {
	private static AchievementFactory instance;
	private AchievementService Achievement;
	
	private AchievementFactory(){
		Achievement=new AchievementService();
	}

	public static synchronized AchievementFactory getInstance() {

		if (instance == null) {
			instance = new AchievementFactory();
		}
		return instance;
	}

	public AchievementService creatAchievementService() {
		return Achievement;
	}
}
